package vcp.application;

import javax.swing.SwingUtilities;

import vcp.client.GUI.mvc.controller.UIRootController;
import vcp.client.GUI.mvc.model.UIRootModel;
import vcp.client.GUI.mvc.view.UIRootView;

/**
 * Client application
 * 
 * @author <p>
 *         VCP team
 *         </p>
 */
public class VCPClientApp
{

	/**
	 * @param args
	 *            Client main Client application entry point
	 */
	public static void main(String[] args)
	{
		SwingUtilities.invokeLater(new Runnable()
		{
			@Override
			public void run()
			{
				VCPClientApp.createAndRunClient();
			}
		});

	}

	/**
	 * Create new client and run it
	 */
	private static void createAndRunClient()
	{
		new UIRootController(new UIRootModel(), new UIRootView());
	}

}
